Report your CDP Neighbours

Let’s build a HTML-Report about the CDP Neighbours of your ESXi Hosts. It looks like this: You can see your VMhost, VMNic, etc. in a HTML Output # Creator Christoph Hochsticher 04.09.2015 # 13.05.2016 Changed to function ############################################################ # Creates a HTML Output with CDP informations of your hosts# ############################################################ # Load VMware Snapin Add-PSSnapin VMware.VimAutomation.Core #Connect vCenter Server Connect-VIServer -server yourvcenter -User [email protected] -password yourpassword #Define Var $path = ‘L:HTML-ReportsCDP-InfoCSVCDP-Info-‘ + (Get-Date -Format yyyy-MM-dd) + ‘.csv’ $htmlfile = ‘L:HTML-ReportsCDP-Infoolder-reportsCDP-Info-‘ + (Get-Date … Continue reading Report your CDP Neighbours